/*
 * @Description  : 
 * @Author       : zhao
 * @Date         : 2022-07-05 17:22:32
 * @LastEditors  : zhao
 * @LastEditTime : 2023-02-02 08:51:05
 */
/*
 * @Description: 借阅车 
 * @Author: zhao
 * @Date: 2022-07-05 17:22:32
 * @LastEditors: zhao
 * @LastEditTime: 2022-07-07 11:21:50
 */
import request from '@/utils/request'

// 加入借阅车
export function AddBorrowingCar(data) {
    return request({
        url: '/BorrowingCar/AddBorrowingCar',
        method: 'post',
        data: data
    })
}
// 查询借阅车
export function GetBorrowingCar(data) {
    return request({
        url: '/BorrowingCar/GetBorrowingCar',
        method: 'post',
        data: data
    })
}
// 清空借阅车
export function DeleteBorrowingCarAll(data) {
    return request({
        url: '/BorrowingCar/DeleteBorrowingCarAll',
        method: 'post',
        data: data
    })
}
// 删除文件
export function DeleteBorrowingCarFile(data) {
    return request({
        url: '/BorrowingCar/DeleteBorrowingCarFile',
        method: 'post',
        data: data
    })
}


// 添加借阅单
export function AddBorrowingForm(data) {
    return request({
        url: '/api/BorrowingForm/AddBorrowingForm',
        method: 'post',
        data: data
    })
}
// 查询借阅车档案是否有效
export function GetIsValid(data) {
    return request({
        url: '/BorrowingCar/GetIsValid',
        method: 'post',
        data: data
    })
}